package com.supermarket.business.service;

import java.util.List;
import com.supermarket.business.domain.SupermarketSalesOrder;

/**
 * 销售订单Service接口
 *
 * @author ruoyi
 * @date 2025-10-23
 */
public interface ISupermarketSalesOrderService
{
    /**
     * 查询销售订单
     *
     * @param orderId 销售订单主键
     * @return 销售订单
     */
    public SupermarketSalesOrder selectSupermarketSalesOrderByOrderId(Long orderId);

    /**
     * 查询销售订单列表
     *
     * @param supermarketSalesOrder 销售订单
     * @return 销售订单集合
     */
    public List<SupermarketSalesOrder> selectSupermarketSalesOrderList(SupermarketSalesOrder supermarketSalesOrder);

    /**
     * 新增销售订单
     *
     * @param supermarketSalesOrder 销售订单
     * @return 结果
     */
    public int insertSupermarketSalesOrder(SupermarketSalesOrder supermarketSalesOrder);

    /**
     * 修改销售订单
     *
     * @param supermarketSalesOrder 销售订单
     * @return 结果
     */
    public int updateSupermarketSalesOrder(SupermarketSalesOrder supermarketSalesOrder);

    /**
     * 批量删除销售订单
     *
     * @param orderIds 需要删除的销售订单主键集合
     * @return 结果
     */
    public int deleteSupermarketSalesOrderByOrderIds(Long[] orderIds);

    /**
     * 删除销售订单信息
     *
     * @param orderId 销售订单主键
     * @return 结果
     */
    public int deleteSupermarketSalesOrderByOrderId(Long orderId);
}
